<div class="popup_body">
    <div class="ui_table">
        <form method="post">
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td width="70" align="right">运营商：</td>
                    <td><input type="text" maxlength="80" class="text"
                               name="agentName" value="${(entity.agentName)!''}"/></td>
                </tr>
                <tr>
                    <td width="70" align="right">代理商：</td>
                    <td><input type="text" maxlength="80" class="text"
                               name="agentName" value="${(entity.agencyName)!''}"/></td>
                </tr>
                <tr>
                    <td width="75" align="right">押金(元)：</td>
                    <td><input type="text" class="text " maxlength="40"
                               name="forgiftMoney" value="${((entity.forgiftMoney)/ 100)!''}" style="width: 168px; height: 28px;"/>
                    </td>
                </tr>
                <tr>
                    <td align="right">状态：</td>
                    <td>
                                <span class="radio_box">
                                    <input type="radio" class="radio" name="status" id="status_1"
                                           <#if entity.status?? && entity.status == 1>checked</#if>
                                           value="1"/><label for="status_1">启用</label>
                                </span>
                                <span class="radio_box">
                                    <input type="radio" class="radio" name="status" id="status_0"
                                           <#if entity.status?? && entity.status == 1><#else>checked</#if>
                                           value="0"/><label for="status_0">禁用</label>
                                </span>
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="top" style="padding-top:10px;">备注：</td>
                    <td><textarea style="width:170px;height: 80px" maxlength="220" name="notes">${(entity.notes)!''}</textarea></td>
                </tr>
            </table>
        </form>
    </div>
</div>
<div class="popup_btn">
    <button class="btn btn_border close">关闭</button>
</div>
<script>
    (function () {
        var pid = '${pid}',
                win = $('#' + pid),
                form = win.find('form');

        win.find('button.close').click(function () {
            win.window('close');
        });
    })()
</script>
